<template>
	<view class="agreement">
		<u-navbar title="邀请规则" :background="{
			'backgroundColor':'#fff'
		}" :borderBottom="false" class="u-skeleton-rect"></u-navbar>
		<view class="content">
			<u-parse :html="context"></u-parse>
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return {
				title:'',
				context:null
			}
		},
		onLoad(option) {
			this.getinfo();
		},
		methods:{
			getinfo(title){
				this.$http.asyncSendrequest({
					url:'/profile/inviteConfig',
					success:res=>{
						this.context = res.data.contenxt;
						this.loding = false;
					}
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.content{
		margin: 30rpx;
		border-radius: 10rpx;
		padding: 30rpx;
		box-sizing: border-box;
		background: #fff;
		overflow-y: scroll;
	}
</style>